﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoreRay
{
    public class GeometryBuffer
    {
        public GeometryBuffer(VertexFormat vertexFormat)
        {
            // Init private members
            this.VertexFormat = vertexFormat;
            this.VertexBuffer = new VertexBuffer(vertexFormat);
            this.IndexBuffer = new IndexBuffer();
        }

        public VertexFormat VertexFormat
        {
            get;
            private set;
        }

        public VertexBuffer VertexBuffer
        {
            get;
            private set;
        }

        public IndexBuffer IndexBuffer
        {
            get;
            private set;
        }
    }
}
